package com.example.demo.dao;

import com.example.demo.bean.Account;
import com.example.demo.bean.ClassGrade;
import com.example.demo.bean.Teacher;

public interface AccountDAO {
    //Account findByAccount_num(String account_num);
    Account getByAccount_numAndPassword(String username, String password);
    int insertAccount(Account account);
    int updateAccount(Account accountToUpdate,Account newAccount);
    int deleteAccount(Account account);
    int setHeadTeacher(Account account,ClassGrade classGrade);
}
